package com.yss.reportworld.domain;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 数据对应客户信息对象 report_world_data_customer
 *
 * @author yss
 * @date 2023-03-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("report_world_data_customer" )
public class DataCustomer {

    /**
     * 主键
     */
    @ExcelIgnore
    @TableId("ID" )
    private String id;

    /**
     * 数据编码
     */
    @ExcelProperty(value = "数据编码" )
    @TableField("DATA_ID" )
    private String dataId;

    /**
     * 客户编码
     */
    @ExcelProperty(value = "客户编码" )
    @TableField("CUSTOMER_ID" )
    private String customerId;

    /**
     * 数据编码类型
     */
    @ExcelProperty(value = "数据编码类型" )
    @TableField("DATA_CODE" )
    private String dataCode;

    /**
     * 文件名称
     */
    @ExcelProperty(value = "文件名称" )
    @TableField("FILE_NAME" )
    private String fileName;
    // 客户名称
    @ExcelIgnore
    @TableField(exist = false)
    private String customerName;
}
